#ifndef __TIMER_FREQ_H
#define __TIMER_FREQ_H

#include "stm32f10x.h"

void TIM_FREQ_NVIC_Config(void);
void TIM_FREQ_Config(void);
void tim_freq_int_handle(void);
#define TIM_FREQ_START  RCC_APB1PeriphClockCmd(RCC_APB1Periph_TIM3 , ENABLE);\
				TIM_Cmd(TIM3, ENABLE)
#define TIM_FREQ_STOP  TIM_Cmd(TIM3, DISABLE);\
				RCC_APB1PeriphClockCmd(RCC_APB1Periph_TIM3 , DISABLE)
				
#endif
